#ifndef ACCESS_MODIFIER_JS
#define ACCESS_MODIFIER_JS

/* enum */ AccessModifier = function(string) { this._string = string; };

AccessModifier.prototype.toString = function() { return this._string; };

(function()
{
	var _public = new AccessModifier("public");
	AccessModifier.__defineGetter__("Public", function() { return _public; });
	AccessModifier.__defineSetter__("Public", function() { throw "MethodAccessibilityException"; });

	var _protected = new AccessModifier("protected");
	AccessModifier.__defineGetter__("Protected", function() { return _protected; });
	AccessModifier.__defineSetter__("Protected", function() { throw "MethodAccessibilityException"; });

	var _private = new AccessModifier("private");
	AccessModifier.__defineGetter__("Private", function() { return _private; });
	AccessModifier.__defineSetter__("Private", function() { throw "MethodAccessibilityException"; });
})();

#endif
